package com.quad.innovators.salesease.converter;

import com.quad.innovators.salesease.model.entity.scan.ScanSetting;
import com.quad.innovators.salesease.model.form.scan.ScanSettingForm;

import org.mapstruct.InheritInverseConfiguration;
import org.mapstruct.Mapper;

/**
 * @author : shanshan.li
 * @createTime : 2025/4/15 10:30
 * @Version : 1.0 
 */
@Mapper(componentModel = "spring")
public interface ScanSettingConverter {
    ScanSettingForm toForm(ScanSetting entity);

    @InheritInverseConfiguration(name = "toForm")
    ScanSetting toEntity(ScanSettingForm entity);
}
